seconds
Type
function
Summary
Returns the number of seconds since the start of the eon.
Syntax
the [long] seconds
seconds()
Description
Use the seconds function to time events.
The seconds function returns the total number of seconds since midnight, January 1, 1970 GMT.
The long seconds form returns a value with a precision to a millionth of a second. However, this value is not normally accurate past the third decimal place because of processor delays.
Examples
the seconds -- might return 961694002
the long seconds -- might return 961694002.834503
Related
command: wait
control structure: function
function: milliseconds
glossary: event, eon, return, decimal point
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile